public class e1 {
        public static void main(String[] args) throws Exception {
            String name = "米线";
            String str1 = new String();
            String str2 = new String("abcd");
            char [] charArray = new char[]{'D','E','F'};
            String str3 = new String(charArray);//"DEF"
            byte [] arr = {97,98,99};
            String str4 = new String(arr);// "abc"
            System.out.println("a"+ str1 + "b");
            System.out.println(str2);
            System.out.println(str3);
            System.out.println(str4);

       }
}
